package Main;

public class Main {

	public static void main(String[] args){
		
		Catalog catalog=new Catalog("catalogEvent.txt");
		
		Client client1= new Client(catalog,"client1");
		Client client2= new Client(catalog, "client2");
		client1.start();
		client2.start();
		
		try {
			client1.join();
			client2.join();
			catalog.printEventBookingByID(1);
		}
		catch(InterruptedException e)
		{
			e.printStackTrace();
		}
	}
	
	
}
